package com.springboot.springautowired.javaDesignModel.proxyModel;

/**
 * 代理对象
 */
public class DynamicSubjectImpl implements DynamicSubject {
    @Override
    public void hello(String str) {
        System.out.println("Hello" + str);
    }

    @Override
    public String bye() {
        System.out.println("Goodbye");
        return "Over";
    }
}
